package com.ruoyi.service;

import com.ruoyi.domain.JkPraiseRecords;

import java.util.List;

/**
 * 点赞Service接口
 *
 * @author ruoyi
 * @date 2023-09-13
 */
public interface IJkPraiseRecordsService
{
    /**
     * 查询点赞
     *
     * @param id 点赞主键
     * @return 点赞
     */
    public JkPraiseRecords selectJkPraiseRecordsById(Long id);

    /**
     * 查询点赞列表
     *
     * @param jkPraiseRecords 点赞
     * @return 点赞集合
     */
    public List<JkPraiseRecords> selectJkPraiseRecordsList(JkPraiseRecords jkPraiseRecords);

    /**
     * 新增点赞
     *
     * @param jkPraiseRecords 点赞
     * @return 结果
     */
    public int insertJkPraiseRecords(JkPraiseRecords jkPraiseRecords);

    /**
     * 修改点赞
     *
     * @param jkPraiseRecords 点赞
     * @return 结果
     */
    public int updateJkPraiseRecords(JkPraiseRecords jkPraiseRecords);

    /**
     * 批量删除点赞
     *
     * @param ids 需要删除的点赞主键集合
     * @return 结果
     */
    public int deleteJkPraiseRecordsByIds(Long[] ids);

    /**
     * 删除点赞信息
     *
     * @param id 点赞主键
     * @return 结果
     */
    public int deleteJkPraiseRecordsById(Long id);
}
